﻿using System;
using System.Collections.Generic;
using System.Text;

using H2.NET.Data.Common;
using H2.NET.Data.Common.Mappings;
using H2.NET.Data.Common.Validates;

namespace H2.NET.Business
{
    [Table]
    [Serializable]
    public partial class TW_Value_Discount : DataObject
    {
        [ID]
        [DID]
        public string ID { get { return _ID; } set { _ID = value; EntityState.FieldChange("ID"); } } private string _ID; public static FieldInfo iD = new FieldInfo("TW_Value_Discount", "ID");
        [Column]
        public string Process { get { return _Process; } set { _Process = value; EntityState.FieldChange("Process"); } } private string _Process; public static FieldInfo process = new FieldInfo("TW_Value_Discount", "Process");
        [Column]
        public int Incident { get { return _Incident; } set { _Incident = value; EntityState.FieldChange("Incident"); } } private int _Incident; public static FieldInfo incident = new FieldInfo("TW_Value_Discount", "Incident");
        [Column]
        public string UserName { get { return _UserName; } set { _UserName = value; EntityState.FieldChange("UserName"); } } private string _UserName; public static FieldInfo userName = new FieldInfo("TW_Value_Discount", "UserName");
        [Column]
        public string VD_Category { get { return _VD_Category; } set { _VD_Category = value; EntityState.FieldChange("VD_Category"); } } private string _VD_Category; public static FieldInfo vD_Category = new FieldInfo("TW_Value_Discount", "VD_Category");
        [Column]
        public string UserFullName { get { return _UserFullName; } set { _UserFullName = value; EntityState.FieldChange("UserFullName"); } } private string _UserFullName; public static FieldInfo userFullName = new FieldInfo("TW_Value_Discount", "UserFullName");
        [Column]
        public string Department { get { return _Department; } set { _Department = value; EntityState.FieldChange("Department"); } } private string _Department; public static FieldInfo department = new FieldInfo("TW_Value_Discount", "Department");
        [Column]
        public string ApplicationNo { get { return _ApplicationNo; } set { _ApplicationNo = value; EntityState.FieldChange("ApplicationNo"); } } private string _ApplicationNo; public static FieldInfo applicationNo = new FieldInfo("TW_Value_Discount", "ApplicationNo");
        [Column]
        public string DrpPriority { get { return _DrpPriority; } set { _DrpPriority = value; EntityState.FieldChange("DrpPriority"); } } private string _DrpPriority; public static FieldInfo drpPriority = new FieldInfo("TW_Value_Discount", "DrpPriority");
        [Column]
        public string DMO_DrpPriority { get { return _DMO_DrpPriority; } set { _DMO_DrpPriority = value; EntityState.FieldChange("DMO_DrpPriority"); } } private string _DMO_DrpPriority; public static FieldInfo dMO_DrpPriority = new FieldInfo("TW_Value_Discount", "DMO_DrpPriority");

        [Column]
        public string VD_Checked { get { return _VD_Checked; } set { _VD_Checked = value; EntityState.FieldChange("VD_Checked"); } } private string _VD_Checked; public static FieldInfo vD_Checked = new FieldInfo("TW_Value_Discount", "VD_Checked");
        [Column]
        public string SA_Checked { get { return _SA_Checked; } set { _SA_Checked = value; EntityState.FieldChange("SA_Checked"); } } private string _SA_Checked; public static FieldInfo sA_Checked = new FieldInfo("TW_Value_Discount", "SA_Checked");
        [Column]
        public string SA2_Checked { get { return _SA2_Checked; } set { _SA2_Checked = value; EntityState.FieldChange("SA2_Checked"); } } private string _SA2_Checked; public static FieldInfo sA2_Checked = new FieldInfo("TW_Value_Discount", "SA2_Checked");
        [Column]
        public string SA3_Checked { get { return _SA3_Checked; } set { _SA3_Checked = value; EntityState.FieldChange("SA3_Checked"); } } private string _SA3_Checked; public static FieldInfo sA3_Checked = new FieldInfo("TW_Value_Discount", "SA3_Checked");
        [Column]
        public string SA4_Checked { get { return _SA4_Checked; } set { _SA4_Checked = value; EntityState.FieldChange("SA4_Checked"); } } private string _SA4_Checked; public static FieldInfo sA4_Checked = new FieldInfo("TW_Value_Discount", "SA4_Checked");
        [Column]
        public string SA5_Checked { get { return _SA5_Checked; } set { _SA5_Checked = value; EntityState.FieldChange("SA5_Checked"); } } private string _SA5_Checked; public static FieldInfo sA5_Checked = new FieldInfo("TW_Value_Discount", "SA5_Checked");
        [Column]
        public string SA6_Checked { get { return _SA6_Checked; } set { _SA6_Checked = value; EntityState.FieldChange("SA6_Checked"); } } private string _SA6_Checked; public static FieldInfo sA6_Checked = new FieldInfo("TW_Value_Discount", "SA6_Checked");
        [Column]
        public string A_Condition_Type { get { return _A_Condition_Type; } set { _A_Condition_Type = value; EntityState.FieldChange("A_Condition_Type"); } } private string _A_Condition_Type; public static FieldInfo a_Condition_Type = new FieldInfo("TW_Value_Discount", "A_Condition_Type");
        [Column]
        public string A_Sales_Organization { get { return _A_Sales_Organization; } set { _A_Sales_Organization = value; EntityState.FieldChange("A_Sales_Organization"); } } private string _A_Sales_Organization; public static FieldInfo a_Sales_Organization = new FieldInfo("TW_Value_Discount", "A_Sales_Organization");
        [Column]
        public string Distribution_Channel { get { return _Distribution_Channel; } set { _Distribution_Channel = value; EntityState.FieldChange("Distribution_Channel"); } } private string _Distribution_Channel; public static FieldInfo distribution_Channel = new FieldInfo("TW_Value_Discount", "Distribution_Channel");
        [Column]
        public string A_Division { get { return _A_Division; } set { _A_Division = value; EntityState.FieldChange("A_Division"); } } private string _A_Division; public static FieldInfo a_Division = new FieldInfo("TW_Value_Discount", "A_Division");
        [Column]
        public string A_Customer { get { return _A_Customer; } set { _A_Customer = value; EntityState.FieldChange("A_Customer"); } } private string _A_Customer; public static FieldInfo a_Customer = new FieldInfo("TW_Value_Discount", "A_Customer");
        [Column]
        public string A_Sorg_DC { get { return _A_Sorg_DC; } set { _A_Sorg_DC = value; EntityState.FieldChange("A_Sorg_DC"); } } private string _A_Sorg_DC; public static FieldInfo a_Sorg_DC = new FieldInfo("TW_Value_Discount", "A_Sorg_DC");
        [Column]
        public string B_Condition_Type { get { return _B_Condition_Type; } set { _B_Condition_Type = value; EntityState.FieldChange("B_Condition_Type"); } } private string _B_Condition_Type; public static FieldInfo b_Condition_Type = new FieldInfo("TW_Value_Discount", "B_Condition_Type");
        [Column]
        public string B_Sales_Organization { get { return _B_Sales_Organization; } set { _B_Sales_Organization = value; EntityState.FieldChange("B_Sales_Organization"); } } private string _B_Sales_Organization; public static FieldInfo b_Sales_Organization = new FieldInfo("TW_Value_Discount", "B_Sales_Organization");
        [Column]
        public string B_Channel { get { return _B_Channel; } set { _B_Channel = value; EntityState.FieldChange("B_Channel"); } } private string _B_Channel; public static FieldInfo b_Channel = new FieldInfo("TW_Value_Discount", "B_Channel");
        [Column]
        public string B_Division { get { return _B_Division; } set { _B_Division = value; EntityState.FieldChange("B_Division"); } } private string _B_Division; public static FieldInfo b_Division = new FieldInfo("TW_Value_Discount", "B_Division");
        [Column]
        public string B_Customer { get { return _B_Customer; } set { _B_Customer = value; EntityState.FieldChange("B_Customer"); } } private string _B_Customer; public static FieldInfo b_Customer = new FieldInfo("TW_Value_Discount", "B_Customer");
        [Column]
        public string B_Sorg_DC { get { return _B_Sorg_DC; } set { _B_Sorg_DC = value; EntityState.FieldChange("B_Sorg_DC"); } } private string _B_Sorg_DC; public static FieldInfo b_Sorg_DC = new FieldInfo("TW_Value_Discount", "B_Sorg_DC");
        [Column]
        public string C_Condition_Type { get { return _C_Condition_Type; } set { _C_Condition_Type = value; EntityState.FieldChange("C_Condition_Type"); } } private string _C_Condition_Type; public static FieldInfo c_Condition_Type = new FieldInfo("TW_Value_Discount", "C_Condition_Type");
        [Column]
        public string C_Sales_Organization { get { return _C_Sales_Organization; } set { _C_Sales_Organization = value; EntityState.FieldChange("C_Sales_Organization"); } } private string _C_Sales_Organization; public static FieldInfo c_Sales_Organization = new FieldInfo("TW_Value_Discount", "C_Sales_Organization");
        [Column]
        public string C_Channel { get { return _C_Channel; } set { _C_Channel = value; EntityState.FieldChange("C_Channel"); } } private string _C_Channel; public static FieldInfo c_Channel = new FieldInfo("TW_Value_Discount", "C_Channel");
        [Column]
        public string C_Division { get { return _C_Division; } set { _C_Division = value; EntityState.FieldChange("C_Division"); } } private string _C_Division; public static FieldInfo c_Division = new FieldInfo("TW_Value_Discount", "C_Division");
        [Column]
        public string C_Customer { get { return _C_Customer; } set { _C_Customer = value; EntityState.FieldChange("C_Customer"); } } private string _C_Customer; public static FieldInfo c_Customer = new FieldInfo("TW_Value_Discount", "C_Customer");
        [Column]
        public string C_Sorg_DC { get { return _C_Sorg_DC; } set { _C_Sorg_DC = value; EntityState.FieldChange("C_Sorg_DC"); } } private string _C_Sorg_DC; public static FieldInfo c_Sorg_DC = new FieldInfo("TW_Value_Discount", "C_Sorg_DC");
        [Column]
        public string D_Condition_Type { get { return _D_Condition_Type; } set { _D_Condition_Type = value; EntityState.FieldChange("D_Condition_Type"); } } private string _D_Condition_Type; public static FieldInfo d_Condition_Type = new FieldInfo("TW_Value_Discount", "D_Condition_Type");
        [Column]
        public string D_Sales_Organization { get { return _D_Sales_Organization; } set { _D_Sales_Organization = value; EntityState.FieldChange("D_Sales_Organization"); } } private string _D_Sales_Organization; public static FieldInfo d_Sales_Organization = new FieldInfo("TW_Value_Discount", "D_Sales_Organization");
        [Column]
        public string D_Channel { get { return _D_Channel; } set { _D_Channel = value; EntityState.FieldChange("D_Channel"); } } private string _D_Channel; public static FieldInfo d_Channel = new FieldInfo("TW_Value_Discount", "D_Channel");
        [Column]
        public string D_Division { get { return _D_Division; } set { _D_Division = value; EntityState.FieldChange("D_Division"); } } private string _D_Division; public static FieldInfo d_Division = new FieldInfo("TW_Value_Discount", "D_Division");
        [Column]
        public string D_Collective_Number { get { return _D_Collective_Number; } set { _D_Collective_Number = value; EntityState.FieldChange("D_Collective_Number"); } } private string _D_Collective_Number; public static FieldInfo d_Collective_Number = new FieldInfo("TW_Value_Discount", "D_Collective_Number");
        [Column]
        public string D_Sorg_DC { get { return _D_Sorg_DC; } set { _D_Sorg_DC = value; EntityState.FieldChange("D_Sorg_DC"); } } private string _D_Sorg_DC; public static FieldInfo d_Sorg_DC = new FieldInfo("TW_Value_Discount", "D_Sorg_DC");
        [Column]
        public string E_Condition_Type { get { return _E_Condition_Type; } set { _E_Condition_Type = value; EntityState.FieldChange("E_Condition_Type"); } } private string _E_Condition_Type; public static FieldInfo e_Condition_Type = new FieldInfo("TW_Value_Discount", "E_Condition_Type");
        [Column]
        public string E_Sales_Organization { get { return _E_Sales_Organization; } set { _E_Sales_Organization = value; EntityState.FieldChange("E_Sales_Organization"); } } private string _E_Sales_Organization; public static FieldInfo e_Sales_Organization = new FieldInfo("TW_Value_Discount", "E_Sales_Organization");
        [Column]
        public string E_Channel { get { return _E_Channel; } set { _E_Channel = value; EntityState.FieldChange("E_Channel"); } } private string _E_Channel; public static FieldInfo e_Channel = new FieldInfo("TW_Value_Discount", "E_Channel");
        [Column]
        public string E_Division { get { return _E_Division; } set { _E_Division = value; EntityState.FieldChange("E_Division"); } } private string _E_Division; public static FieldInfo e_Division = new FieldInfo("TW_Value_Discount", "E_Division");
        [Column]
        public string E_Collective_Number { get { return _E_Collective_Number; } set { _E_Collective_Number = value; EntityState.FieldChange("E_Collective_Number"); } } private string _E_Collective_Number; public static FieldInfo e_Collective_Number = new FieldInfo("TW_Value_Discount", "E_Collective_Number");
        [Column]
        public string E_Sorg_DC { get { return _E_Sorg_DC; } set { _E_Sorg_DC = value; EntityState.FieldChange("E_Sorg_DC"); } } private string _E_Sorg_DC; public static FieldInfo e_Sorg_DC = new FieldInfo("TW_Value_Discount", "E_Sorg_DC");
        [Column]
        public string F_Condition_Type { get { return _F_Condition_Type; } set { _F_Condition_Type = value; EntityState.FieldChange("F_Condition_Type"); } } private string _F_Condition_Type; public static FieldInfo f_Condition_Type = new FieldInfo("TW_Value_Discount", "F_Condition_Type");
        [Column]
        public string F_Sales_Organization { get { return _F_Sales_Organization; } set { _F_Sales_Organization = value; EntityState.FieldChange("F_Sales_Organization"); } } private string _F_Sales_Organization; public static FieldInfo f_Sales_Organization = new FieldInfo("TW_Value_Discount", "F_Sales_Organization");
        [Column]
        public string F_Channel { get { return _F_Channel; } set { _F_Channel = value; EntityState.FieldChange("F_Channel"); } } private string _F_Channel; public static FieldInfo f_Channel = new FieldInfo("TW_Value_Discount", "F_Channel");
        [Column]
        public string F_Division { get { return _F_Division; } set { _F_Division = value; EntityState.FieldChange("F_Division"); } } private string _F_Division; public static FieldInfo f_Division = new FieldInfo("TW_Value_Discount", "F_Division");
        [Column]
        public string F_Collective_Number { get { return _F_Collective_Number; } set { _F_Collective_Number = value; EntityState.FieldChange("F_Collective_Number"); } } private string _F_Collective_Number; public static FieldInfo f_Collective_Number = new FieldInfo("TW_Value_Discount", "F_Collective_Number");
        [Column]
        public string F_Sorg_DC { get { return _F_Sorg_DC; } set { _F_Sorg_DC = value; EntityState.FieldChange("F_Sorg_DC"); } } private string _F_Sorg_DC; public static FieldInfo f_Sorg_DC = new FieldInfo("TW_Value_Discount", "F_Sorg_DC");
        [Column]
        public string G_Condition_Type { get { return _G_Condition_Type; } set { _G_Condition_Type = value; EntityState.FieldChange("G_Condition_Type"); } } private string _G_Condition_Type; public static FieldInfo g_Condition_Type = new FieldInfo("TW_Value_Discount", "G_Condition_Type");
        [Column]
        public string G_Sales_Organization { get { return _G_Sales_Organization; } set { _G_Sales_Organization = value; EntityState.FieldChange("G_Sales_Organization"); } } private string _G_Sales_Organization; public static FieldInfo g_Sales_Organization = new FieldInfo("TW_Value_Discount", "G_Sales_Organization");
        [Column]
        public string G_Channel { get { return _G_Channel; } set { _G_Channel = value; EntityState.FieldChange("G_Channel"); } } private string _G_Channel; public static FieldInfo g_Channel = new FieldInfo("TW_Value_Discount", "G_Channel");
        [Column]
        public string G_Division { get { return _G_Division; } set { _G_Division = value; EntityState.FieldChange("G_Division"); } } private string _G_Division; public static FieldInfo g_Division = new FieldInfo("TW_Value_Discount", "G_Division");
        [Column]
        public string G_Collective_Number { get { return _G_Collective_Number; } set { _G_Collective_Number = value; EntityState.FieldChange("G_Collective_Number"); } } private string _G_Collective_Number; public static FieldInfo g_Collective_Number = new FieldInfo("TW_Value_Discount", "G_Collective_Number");
        [Column]
        public string G_Sorg_DC { get { return _G_Sorg_DC; } set { _G_Sorg_DC = value; EntityState.FieldChange("G_Sorg_DC"); } } private string _G_Sorg_DC; public static FieldInfo g_Sorg_DC = new FieldInfo("TW_Value_Discount", "G_Sorg_DC");
        [Column]
        public DateTime Time { get { return _Time; } set { _Time = value; EntityState.FieldChange("Time"); } } private DateTime _Time; public static FieldInfo time = new FieldInfo("TW_Value_Discount", "Time");
        [Column]
        public int Status { get { return _Status; } set { _Status = value; EntityState.FieldChange("Status"); } } private int _Status; public static FieldInfo status = new FieldInfo("TW_Value_Discount", "Status");

    }
}
